<template>
  <div class="not-found-container">
    <div class="not-found-content">
      <div class="not-found-icon">🔍</div>
      <h1>404</h1>
      <h2>页面未找到</h2>
      <p>抱歉，您访问的页面不存在或已被移除</p>
      <router-link to="/" class="back-home-btn">
        返回首页
      </router-link>
    </div>
  </div>
</template>

<script setup>
// NotFound组件逻辑
</script>

<style scoped>
.not-found-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 60px);
  padding: 2rem;
  background: #f8f9fa;
}

.not-found-content {
  text-align: center;
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
}

.not-found-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.not-found-content h1 {
  font-size: 4rem;
  margin: 0;
  color: #333;
}

.not-found-content h2 {
  font-size: 1.5rem;
  margin: 0.5rem 0 1rem;
  color: #555;
}

.not-found-content p {
  color: #666;
  margin-bottom: 2rem;
}

.back-home-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #2196F3;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.back-home-btn:hover {
  background: #1976D2;
}

@media (max-width: 768px) {
  .not-found-content {
    padding: 2rem;
  }
  
  .not-found-icon {
    font-size: 4rem;
  }
  
  .not-found-content h1 {
    font-size: 3rem;
  }
}
</style>